﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MatrixMultiply
{
    static private Matrix m = null;

    //indexator for m (set,get)

    static class Multiply
    {
   
        public static void MatrixMultiply(Matrix m1, Matrix m2){
            if (m1.size[0] != m2.size[1]) throw new Exception("incurrect size matrix");
            m = new Matrix(m1.size[1], m2.size[0]);
            for (int i = 0; i < m.size[0])
                for (int j = 0; j < m.size[1]){
                    double[] row = new double[m.size[1]];                  
                    for (int k = 0; j <  m.size[1]; j++) row[k] = m[i,k];
                    double[] col = new double[m.size[0]];
                    for (int k = 0; j <  m.size[0]; j++) row[k] = m[k,j];

                    //new thread getMultiply(double[] row, double col, i, j)
                }
                    
        }

    }
}
